package com.hpf.lease.web.admin.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.hpf.lease.model.bean.RoomInfo;
import com.hpf.lease.web.admin.dto.RoomSearchSubmitDto;
import com.hpf.lease.web.admin.dto.RoomSubmitDto;
import com.hpf.lease.web.admin.vo.RoomInfoVo;

import java.util.List;

/**
* @author GOD
* @description 针对表【room_info(房间信息表)】的数据库操作Service
* @createDate 2024-08-29 15:00:50
*/
public interface RoomInfoService extends IService<RoomInfo> {

    boolean saveOrUpdateInfo(RoomSubmitDto roomSubmitDto);

    Page<RoomInfoVo> getPageItem(RoomSearchSubmitDto submitDto);

    RoomInfoVo getDetailById(long id);
}
